<template>
	<div>
		<record :storeId ="storeId" :store ="store" v-if="$route.params.type=='record'"></record>
		<check :storeId ="storeId" :store ="store" v-else></check>
	</div>
</template>

<script>
	import check from '@/components/stock/check/check.vue';
	import record from '@/components/stock/check/checkrecord.vue';
export default {
	components: {check,record},
	props:['storeId','store'],
  	data(){
		return {

		}
	},
	watch:{
	   
	},
	methods:{

	},
	created () {
	},
	mounted() {
		
	},
	beforeDestroy() {

	}
}
</script>
<style lang="scss" scoped>
	@import "index";
</style>